export default class Administration {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/page', 'get', params, axiosOption, httpOption);
  }
  static listFor (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/listForAddContract', 'get', params, axiosOption, httpOption);
  }
  static listForDeposit (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/project/listForDeposit', 'get', axiosOption, httpOption);
  }
  static listForBackPlan (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/project/listForBackPlan', 'get', axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/add', 'post', params, axiosOption, httpOption);
  }
  static addTo (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/oppoToProject', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/view', 'get', params, axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/project/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static submitComplete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/complete', 'post', params, axiosOption, httpOption);
  }
  static overview (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/overview', 'get', params, axiosOption, httpOption);
  }
  static userlist (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/user/page', 'get', params, axiosOption, httpOption);
  }
  static userall (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/user/all', 'get', params, axiosOption, httpOption);
  }
  static useradd (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/user/add', 'post', params, axiosOption, httpOption);
  }
  static userdelete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/user/delete', 'post', params, axiosOption, httpOption);
  }
  static setRoleName (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/user/setProjectRoleName', 'post', params, axiosOption, httpOption);
  }
  static planlist (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/plan/list', 'get', params, axiosOption, httpOption);
  }
  static plansave (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/plan/save', 'post', params, axiosOption, httpOption);
  }
  static planchange (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/plan/change/view', 'get', params, axiosOption, httpOption);
  }
  static tasklist (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/list', 'get', params, axiosOption, httpOption);
  }
  static taskadd (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/add', 'post', params, axiosOption, httpOption);
  }
  static taskview (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/view', 'get', params, axiosOption, httpOption);
  }
  static taskupdate (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/update', 'post', params, axiosOption, httpOption);
  }
  static taskdelete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/delete', 'post', params, axiosOption, httpOption);
  }
  static planprogress (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/plan/progress', 'get', params, axiosOption, httpOption);
  }
  static viewContract (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/viewContract', 'get', params, axiosOption, httpOption);
  }
  static achievementview (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/project/achievement/view', 'get', params, axiosOption, httpOption);
  }
  static addArchives (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/addArchives', 'post', params, axiosOption, httpOption);
  }
  static updateArchives (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/updateArchives', 'post', params, axiosOption, httpOption);
  }
  static archiveApproval (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/upApproval', 'post', params, axiosOption, httpOption);
  }
  static getArchiveList (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/queryApprovalList', 'get', params, axiosOption, httpOption);
  }
  static getArchiveInfo (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/viewApproval', 'get', params, axiosOption, httpOption);
  }
  static achievement (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/queryByArchive', 'get', params, axiosOption, httpOption);
  }
  static achievementadd (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/addArchive', 'post', params, axiosOption, httpOption);
  }
  static achievementupdate (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/updateArchive', 'post', params, axiosOption, httpOption);
  }
  static achievementdelete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/deleteArchive', 'get', params, axiosOption, httpOption);
  }
  static submitUserProject (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/submitUserTask', 'post', params, axiosOption, httpOption);
  }
  static submitUserTask (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/submitUserTask', 'post', params, axiosOption, httpOption);
  }
  static submitUserPlan (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/plan/submitUserTask', 'post', params, axiosOption, httpOption);
  }
  static tasklog (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/task/log/list', 'get', params, axiosOption, httpOption);
  }
  static checkCanAddProject (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/project/checkCanAddProject', 'get', axiosOption, httpOption);
  }
  static IncomeAndExpense (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/home/project/projectIncomeAndExpense', 'get', params, axiosOption, httpOption);
  }
  static Progress (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/home/project/projectProgress', 'get', params, axiosOption, httpOption);
  }
  static homePageAmount (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/home/project/homePageAmount', 'get', params, axiosOption, httpOption);
  }
  static ExportFile (sender, params, fileName) {
    return sender.download('admin/project/listExport', params, fileName);
  }
  static taskcomplete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/task/taskComplete', 'post', params, axiosOption, httpOption);
  }
  // 项目任务列表查询
  static Tasklist (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/project/ccProject', 'get', params, axiosOption, httpOption);
  }
  // 添加项目任务
  static addTask (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/insertProjectInitiationTask', 'post', params, axiosOption, httpOption);
  }
  // 编辑项目任务
  static updateTask (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/updateProjectTask', 'post', params, axiosOption, httpOption);
  }
  // 项目任务交付
  static deliverTask (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/updateProjectInitiationTask', 'post', params, axiosOption, httpOption);
  }
  // 删除项目
  static deleteByProject (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/deleteByProject', 'post', params, axiosOption, httpOption);
  }
  // 添加项目成员
  static addProjectsUsers (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/insertProjectUser', 'post', params, axiosOption, httpOption);
  }
  // 删除项目成员
  static deleteProjectsUsers (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/delete', 'post', params, axiosOption, httpOption);
  }
  // 查询商机动态
  static dynamicOppoList (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/business/dynamic/oppo/getList', 'post', params, axiosOption, httpOption);
  }
  // 查询线索动态
  static dynamicList (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/Dynamics/getList', 'post', params, axiosOption, httpOption);
  }
  // 项目审批
  static projectApproval (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/Approval', 'post', params, axiosOption, httpOption);
  }
  // 项目任务审批
  static upProjectInitiationProcess (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/upProjectInitiationProcess', 'post', params, axiosOption, httpOption);
  }
  // 项目任务删除
  static deleteByTask (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/deleteByTask', 'get', params, axiosOption, httpOption);
  }
  // 新增项目复盘
  static saveAnalyse (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/analyse/saveAnalyse', 'post', params, axiosOption, httpOption);
  }
  // 项目复盘列表
  static analyselist (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/analyse', 'get', params, axiosOption, httpOption);
  }
  // 项目复盘详情
  static analyseDetail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/project/analyse/queryDetail/${params}`, 'get', axiosOption, httpOption)
  }
  // 项目复盘模板下载
  static getAnalyseExcel (sender, params, fileName) {
    return sender.download('admin/project/analyse/getAnalyseExcel', params, fileName);
  }
  // 项目复盘审批
  static projectViewapproval (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/analyse/thouapproval', 'post', params, axiosOption, httpOption);
  }
  // 关联商机
  static queryByBusinessOpportunity (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/queryByBusinessOpportunity', 'get', params, axiosOption, httpOption);
  }
  // 新增审批
  static addApproval (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/add', 'post', params, axiosOption, httpOption);
  }
  // 审批列表
  static approvalList (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/list', 'get', params, axiosOption, httpOption);
  }
  // 审批
  static Approval (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/Approval', 'post', params, axiosOption, httpOption);
  }
  // 审批详情
  static approvalView (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/view', 'get', params, axiosOption, httpOption);
  }
  // 项目立项
  // static ProjectApproval (sender, params, axiosOption, httpOption) {
  //   return sender.doUrl('admin/project/qyeruByProjectApprovals', 'get', params, axiosOption, httpOption);
  // }
  // 删除审批
  static delProjectbid (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/delete', 'get', params, axiosOption, httpOption);
  }
  // 删除审批
  static updateProjectbid (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/projectbid/update', 'post', params, axiosOption, httpOption);
  }
}
